package homeJava2;

import java.util.Scanner;

public class J04_CheckNumber {

	public static void main(String[] args) {

		Scanner sc = null;
		int num;
		
		sc = new Scanner(System.in);
		System.out.print("숫자를 입력하시오 : ");
		num = sc.nextInt();
				
		if (num < 10000) 
			System.out.println("10000 미만");
		if (num >=10000 && num < 20000) 
			System.out.println("1000 ~ 20000");
		if (num >= 20000 && num < 30000)
			System.out.println("20000 ~ 30000");
		if (num < 0 || num > 30000)
			System.out.println("범위 밖 값");
		
		
	}

}
